## Make file for the words demonstration.

COMPILER=gcc -g
C_PLUS=g++ -g
COMP=$(COMPILER) -o $@ -c
TARGET=sim
OBJS=UserInterface.o Memory.o MemoryManagementUnit.o MemoryManager.o PageReplacementManager.o Configuration.o
.SUFFIXES: no_suffiexes

project : $(TARGET)

$(TARGET): sim.cpp $(OBJS)
	$(C_PLUS)  -o $(TARGET)  sim.cpp  $(OBJS) $(LIBS) 
UserInterface.o: UserInterface.cpp UserInterface.h
	$(COMPILER) -o UserInterface.o -c UserInterface.cpp
Configuration.o: Configuration.cpp Configuration.h
	$(COMPILER) -o Configuration.o -c Configuration.cpp
Memory.o: Memory.cpp Memory.h
	$(COMPILER) -o Memory.o -c Memory.cpp
MemoryManagementUnit.o: MemoryManagementUnit.cpp MemoryManagementUnit.h
	$(COMPILER) -o MemoryManagementUnit.o -c MemoryManagementUnit.cpp
MemoryManager.o: MemoryManager.cpp MemoryManager.h
	$(COMPILER) -o MemoryManager.o -c MemoryManager.cpp
PageReplacementManager.o: PageReplacementManager.cpp PageReplacementManager.h
	$(COMPILER) -o PageReplacementManager.o -c PageReplacementManager.cpp
	
clean: 
	rm *.o
	rm sim
